#!/bin/bash
#ITMD536 Software Testing and Maintenance.
#Final project <group assignment>
#Author: Wanglei ID:A20479012
#This shell script executes the face registration process. 
#first of all, detect the face via input a photo, obtain the face matix, 
#and then calculate the face feature value according to the face matix 
#and store the values in the database.
#$1 parameter is the file name of the photo to be registered.
#$2 parameter indicates the user name associated with the face to be registered,
export LD_LIBRARY_PATH=/opt/FaceITMD/libs
./build/face -reg images/$1 
